package com.test.qpbgboot.schedule.mapper;

import com.test.qpbgboot.schedule.pojo.dto.RoomScheduleQuery;
import com.test.qpbgboot.schedule.pojo.entity.RoomSchedule;
import com.test.qpbgboot.schedule.pojo.vo.RoomScheduleVO;

import java.util.List;

public interface RoomScheduleMapper {
    List<RoomScheduleVO> selectRoomScheduleVObyRoomScheduleQuery(RoomScheduleQuery roomScheduleQuery);
    Integer selectEnableByRoomScheduleQuery(RoomScheduleQuery roomScheduleQuery);
    void insert(RoomSchedule roomSchedule);
    void update(RoomSchedule roomSchedule);
    void refreshStatus();//刷新排班表，将过去的已预约改为已使用
    void deleteById(Long id);
}
